<!DOCTYPE html>
<html lang="en">

<body class="no-skin">

<div class="main-container ace-save-state" >

    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">
                <div class="row">
                    <div class="col-sm-4">
                        <div class="widget-box">
                            <div class="widget-header">
                                <h5 class="widget-title">项目基础信息</h5>
                            </div>
                            <div class="widget-body h519">
                                <div class="widget-main" id="fpxm_base_info">
                                    <strong>项目分类</strong>
                                    <span style="float: right"> $!aidProjectPO.projectTypeName</span>
                                    <br>
                                    <strong>项目名称</strong>
                                    <span style="float: right"> $!aidProjectPO.projectName</span>
                                    <br>
                                    <strong>开始日期</strong>
                                    <span style="float: right"> $!dateTool.format('yyyy-MM-dd ',$!aidProjectPO.beginDate)</span>
                                    <br>
                                    <strong>截止日期</strong>
                                    <span style="float: right">$!dateTool.format('yyyy-MM-dd',$!aidProjectPO.endDate)</span>
                                    <br>
                                    <div class="hr hr8 hr-double hr-dotted"></div>
                                    <strong>部门领导</strong>
                                    <span style="float: right"> $!aidProjectPO.cityLeader</span>
                                    <br>
                                    <strong>责任部门</strong>
                                    <span style="float: right"> $!aidProjectPO.respDepartment</span>
                                    <br/>
                                    <strong>项目责任人</strong>
                                    <span style="float: right"> $!aidProjectPO.respStaff</span>
                                    <br>
                                    <strong>扶贫办负责人</strong>
                                    <span style="float: right"> $!aidProjectPO.povertyStaff</span>
                                    <br>
                                    <div class="hr hr8 hr-double hr-dotted"></div>
                                    <strong>总投资</strong>
                                    <span style="float: right"> $!aidProjectPO.totalInvest (元)</span>
                                    <br>
                                    <strong>计划年份</strong>
                                    <span style="float: right">$!dateTool.format('yyyy-MM-dd',$!aidProjectPO.planDate)</span>
                                    <br>
                                    <strong>计划投资</strong>
                                    <span style="float: right"> $!aidProjectPO.planInvest (元)</span>
                                    <div class="hr hr8 hr-double hr-dotted"></div>
                                    <strong>建设内容</strong>
                                    <br/>
                                    <span>$!aidProjectPO.projectDesc</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-8">
                        <div class="widget-box ui-sortable-handle" id="widget-box-1" style="opacity: 1; z-index: 0;">
                            <div class="widget-header">
                                <h5 class="widget-title">项目进展情况</h5>
                                <div class="widget-toolbar">
                                    <div class="widget-menu">
                                        <a href="javascript:void(0)" id="addProjectA">
                                            <i class="ace-icon fa fa-bars"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                            <div class="widget-body h519">
                                <div class="timeline-container timeline-style2">
                                    #foreach($app in $appList)
                                    <div class="timeline-item clearfix">
                                        <div class="timeline-info">
                                            <span class="timeline-date">$app.month 月</span>
                                            <i class="timeline-indicator btn btn-info no-hover"></i>
                                        </div>
                                        <div class="widget-box transparent">
                                            <div class="widget-body">
                                                <div class="col-sm-5">
                                                    <div class="widget-main no-padding">
                                                            <span class="bigger-110">
                                                                $app.content
                                                            </span>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="widget-main no-padding">
                                                        #foreach($item in $app.photoArray)
                                                        <img style="width: 50px;height: 50px" src="$!item">
                                                        #end
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    #end
									#if($appList.size()==0)
									<table id="nodata-table" class="table  ">
										<tr>
											<td class="center" >
												<div  class="" style="font-weight: bold;">没有数据...</div>
											</td>
											
										</tr>
									</table>
									#end
                                </div><!-- /.timeline-items -->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div><!-- /.page-content -->
    </div>
</div>

<script>
    jQuery(function ($) {
        $("#addProjectA_tmp").on('click',function () {
            bootbox.dialog({
                message: "I am a custom confirm",
                title: "Confirm title",
                buttons: {
                    Cancel: {
                        label: "Cancel",
                        className: "btn-default",
                        callback: function () {
                            alert("Cancel");
                        }
                    }
                    , OK: {
                        label: "OK",
                        className: "btn-primary",
                        callback: function () {
                            alert("OK");
                        }
                    }
                }
            });
        });
		var fpxm_base_info = $("#fpxm_base_info");
		$("#nodata-table").height(fpxm_base_info.height());
    })
</script>
</body>
</html>
